package com.byronspace.mapper;

import java.util.List;

import news.utils.model.Weather;

import org.apache.ibatis.annotations.Select;
 
public interface WeatherMapper {
   
    @Select("select *from weather where nameCn = #{name}")
    public List<Weather> likeName(String name);
   
    @Select("select *from weather where id = #{id}")
    public Weather getById(long id);
   
    @Select("select nameCn from weather where id = #{id}")
    public String getNameById(long id);
   
   
}